﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NLite.Domain.Events
{
    /// <summary>
    /// 删除事件
    /// </summary>
    /// <typeparam name="TData">删除的数据类型</typeparam>
    /// <typeparam name="TId">Id</typeparam>
    [Serializable]
    public class DeleteEvent<TData, TId> : Event
    {
        /// <summary>
        /// 得到或设置待删除的Id集合
        /// </summary>
        public TId[] Ids { get; set; }
    }
}
